﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="DefineMessageForPrime.aspx.vb" Inherits="ccapps.DefineMessageForPrime" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
		<title>Define Invoice Message (For Prime Subscribers)</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK rel="stylesheet" type="text/css" href="../assets/dateTimePicker/jquery.datetimepicker.css">
		<%--<script type="text/javascript" src="../assets/dateTimePicker/jquery-1.8.3.min.js"></script>--%>
        <script type="text/javascript" src="../assets/dateTimePicker/jquery.js"></script>
		<script type="text/javascript" src="../assets/dateTimePicker/jquery.datetimepicker.js"></script>
         <STYLE type="text/css">
         .mybtn
            {
                font-family: Verdana, Arial; 
		        font-size : 10px; 
		        font-weight : bold;
		        color: #336699;
		        border-width : 0;
		        padding : 3px;
		        background:  url(../gif/button_new.gif);		
		        width: 123px; 
		        text-align:center;
		        text-decoration: none;
            }
        </STYLE>
		<script language="javascript">

		    function txtMsisdnCustCode_keyPress(e) {
		        var key;
		        key = (e.which) ? e.which : e.keyCode;
		        if (key == 13) {
		            return false;
		        }
		        else {
		            return true;
		        }

		    }

		    function isNumberKey(evt) {
		        var charCode = (evt.which) ? evt.which : event.keyCode
		        if (charCode > 31 && (charCode < 48 || charCode > 57)) {

		            return false;
		        }


		        return true;
		    }

		</script>
    
	</HEAD>
<body>
		<form id="Form1" method="post" runat="server">
			<asp:button id="btnConfigurations" style="FLOAT: right;  margin-right: 70px; Z-INDEX: 0" runat="server" Text="Konfigürasyonlar"
				class ="mybtn"></asp:button>
            <asp:button id="btnTags" style="FLOAT: right;  margin-right: 70px; Z-INDEX: 0" runat="server" Text="TAG" class ="mybtn"></asp:button>
            <asp:panel id="pnlConfig" Runat="server" >
				<TABLE cellSpacing="1" cellPadding="1" width="68%">
                   <TR>
				        <TD  colSpan="5">
					        <table border="0" cellSpacing="0" cellPadding="0" width="100%">
						        <tr> 
							        <td   vAlign="top" background="../gif/sayfa_basi_bg.gif" align="left"><b><asp:label style="Z-INDEX: 0" id="Label2" runat="server" Font-Size="12pt" ForeColor="Black"
										Font-Names="Arial">Define Invoice Message (For Prime Subscribers)</asp:label></b></td>
					        	</tr>
                                   <tr> 
							         <td>&nbsp;</td>
					        	</tr>
					        </table>
			        	</TD>
			        </TR> 
					<TR>
						<TD width="12%">Konfigürasyon:</TD>
						<TD>
							<asp:dropdownlist id="ddlConfigs" style="Z-INDEX: 0" runat="server" Width="157">
								<asp:ListItem Value="Konfigurasyon maddeleri">Konfigurasyonlar</asp:ListItem>
							</asp:dropdownlist></TD>
						<TD></TD>
						<TD width="11%">TAG:</TD>
						<TD>
							<asp:dropdownlist id="ddlTags" style="Z-INDEX: 0" runat="server" Width="157">
								<asp:ListItem Value="Tag maddeleri">TAG'ler</asp:ListItem>
							</asp:dropdownlist></TD>
					</TR>
					<TR>
						<TD>Mesaj:</TD>
						<TD colSpan="4">
							<asp:textbox id="txtMessage" runat="server" Height="77" TextMode="MultiLine"></asp:textbox></TD>
					</TR>
					<TR>
						<TD>Başlangıç Tarihi:</TD>
						<TD>
							<asp:textbox id="txtStartDate" runat="server"></asp:textbox></TD>
						<TD></TD>
						<TD>Sonlanma Tarihi:</TD>
						<TD>
							<asp:textbox id="txtEndDate" runat="server"></asp:textbox></TD>
					</TR>
					<TR>
						<TD></TD>
						<TD>
							<asp:button id="btnSave" style="Z-INDEX: 0" runat="server" class ="mybtn" Text="Kaydet"></asp:button></TD>
						<TD></TD>
						<TD></TD>
						<TD>
							<asp:button id="btnUpdate" style="Z-INDEX: 0" runat="server" class ="mybtn" Text="Güncelle"
								Enabled="False"></asp:button></TD>
					</TR>
					<TR>
						<TD colSpan="5"><BR>
						</TD>
					</TR>
					<TR>
						<TD colSpan="5" align="center"><B>- Tanımlı Mesajlar -</B>
						</TD>
					</TR>
					<TR>
						<TD colSpan="5">
							<asp:datagrid id="DataGrid1" runat="server" Width="100%" AllowPaging="True" AutoGenerateColumns="False"
								PageSize="50">
								<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
								<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
								<Columns>
									<asp:BoundColumn DataField="CONF_NAME" HeaderText="Config Name">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="CONF_ID" HeaderText="Konfig ID" Visible="False">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="TAG" HeaderText="TAG">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="MESSAGE" HeaderText="Mesaj">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="VALID_FROM" HeaderText="Başlangıç Tarihi" DataFormatString="{0:g}">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="VALID_TO" HeaderText="Sonlanma Tarihi" DataFormatString="{0:g}">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:TemplateColumn HeaderText="İşlemler">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<ItemTemplate>
											<TABLE style="Z-INDEX: 0;  " id="Table3" border="0" cellPadding="0">
												<TR>
													<TD style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px" wrap="false">
														<asp:LinkButton id=lbtnEditUser runat="server" CausesValidation="False" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "TAG") %>' CommandName="Edit">Güncelle</asp:LinkButton></TD>
												</TR>
											</TABLE>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:BoundColumn DataField="MSG_ID" HeaderText="Msg ID" Visible="False">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
								</Columns>
								<PagerStyle Font-Size="11px" Font-Names="Arial" HorizontalAlign="Right" ForeColor="White" BackColor="#A2547F"
									Mode="NumericPages"></PagerStyle>
							</asp:datagrid></TD>
					</TR>
				</TABLE>
			</asp:panel><asp:panel id="pnlTags" Runat="server">
				<TABLE cellSpacing="1" cellPadding="1" width="68%">
                      <TR>
				        <TD  colSpan="2">
					        <table border="0" cellSpacing="0" cellPadding="0" width="100%">
						        <tr> 
							        <td class="sayfa_basi" vAlign="top" background="../gif/sayfa_basi_bg.gif" align="left"><b><asp:label style="Z-INDEX: 0" id="Label1" runat="server" Font-Size="12pt" ForeColor="Black"
										Font-Names="Arial">Ghh Üst Paket / Alt Paket Geçiş</asp:label></b></td>
					        	</tr>
                                  <tr> 
							         <td>&nbsp;</td>
					        	</tr>
					        </table>
			        	</TD>
			        </TR>
					<TR>
						<TD width="15%">TAG:</TD>
						<TD>
							<asp:TextBox id="txtTAG" style="Z-INDEX: 0" runat="server" Width="200"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD>Öncelik:</TD>
						<TD>
							<asp:DropDownList id="ddlPriority" style="Z-INDEX: 0" runat="server" Width="200px"></asp:DropDownList></TD>
					</TR>
					<TR>
						<TD>Max Uzunluk:</TD>
						<TD>
							<asp:TextBox id="txtMaxLength" style="Z-INDEX: 0" runat="server" Width="200"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD>Başlangıç Tarihi:</TD>
						<TD>
							<asp:textbox id="txtStartDate2" style="Z-INDEX: 0" runat="server" Width="200"></asp:textbox></TD>
					</TR>
					<TR>
						<TD>Sonlanma Tarihi</TD>
						<TD>
							<asp:textbox id="txtEndDate2" style="Z-INDEX: 0" runat="server" Width="200"></asp:textbox></TD>
					</TR>
					<TR>
						<TD></TD>
						<TD>
							<asp:Button id="btnSave2" style="Z-INDEX: 0" runat="server" class ="mybtn" Text="Kaydet"></asp:Button>
							<asp:Button id="btnUpdate2" style="Z-INDEX: 0" runat="server" class ="mybtn" Text="Güncelle"></asp:Button></TD>
					</TR>
					<TR>
						<TD colSpan="2"><BR>
						</TD>
					</TR>
					<TR>
						<TD colSpan="2" align="center"><B>- Tanımlı Konfigürasyonlar -</B></TD>
					</TR>
					<TR>
						<TD colSpan="2">
							<asp:datagrid id="DataGrid2" runat="server" Width="100%" AllowPaging="True" AutoGenerateColumns="False"
								PageSize="50">
								<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
								<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A2547F"></HeaderStyle>
								<Columns>
									<asp:BoundColumn DataField="TAG" HeaderText="TAG">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="PRIORITY" HeaderText="Priority">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="MAX_LENGTH" HeaderText="Max Uzunluk">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="VALID_FROM" HeaderText="Başlangıç Tarihi" DataFormatString="{0:g}">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="VALID_TO" HeaderText="Sonlanma Tarihi" DataFormatString="{0:g}">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="ROW_ID" HeaderText="Row_ID" Visible="False">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Font-Bold="True" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<FooterStyle Font-Size="11px" Font-Names="Arial" ForeColor="White" BackColor="#A2547F"></FooterStyle>
									</asp:BoundColumn>
									<asp:TemplateColumn HeaderText="İşlemler">
										<HeaderStyle Font-Size="11px" Font-Names="Arial" Wrap="False" ForeColor="White"></HeaderStyle>
										<ItemStyle Font-Size="11px" Font-Names="Arial" Wrap="False" BackColor="Lavender"></ItemStyle>
										<ItemTemplate>
											<TABLE style="Z-INDEX: 0; " id="Table4" border="0" cellPadding="0">
												<TR>
													<TD style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px" wrap="false">
														<asp:LinkButton id="lbtnEditUser2" runat="server" CausesValidation="False" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "TAG") %>' CommandName="Edit">Güncelle</asp:LinkButton></TD>
												</TR>
											</TABLE>
										</ItemTemplate>
									</asp:TemplateColumn>
								</Columns>
								<PagerStyle Font-Size="11px" Font-Names="Arial" HorizontalAlign="Right" ForeColor="White" BackColor="#A2547F"
									Mode="NumericPages"></PagerStyle>
							</asp:datagrid></TD>
					</TR>
				</TABLE>
			</asp:panel></form>
		<script>

		    $('#txtStartDate,#txtStartDate2,#txtEndDate2,#txtEndDate').datetimepicker({
		        mask: '39.19.9999 29:59',
		        format: 'd.m.Y H:i'
		    });

</script>
	</body>
</html>
